package com.bean.entity;

import java.io.Serializable;

/**
 * User: 刘文雄
 * Date:2022/3/28 15:12
 * 行政区实体类
 */
public class District implements Serializable {
    private Integer id;
    private String districtName;

    @Override
    public String toString() {
        return "District{" +
                "id=" + id +
                ", districtName='" + districtName + '\'' +
                '}';
    }

    public District() {
    }

    public District(Integer id) {
        this.id = id;
    }

    public District(String districtName) {
        this.districtName = districtName;
    }

    public District(Integer id, String districtName) {
        this.id = id;
        this.districtName = districtName;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getDistrictName() {
        return districtName;
    }

    public void setDistrictName(String districtName) {
        this.districtName = districtName;
    }
}
